home *** CD-ROM | disk | FTP | other *** search
/ MacHack 1998 / MacHack 1998.toast / Programming Contest / Secret Solutions Folder / Secret Test Data / Problem 10 Test Data / Test03.input < prev    next >
Encoding:
Text File  |  1998-06-18  |  232 b   |  16 lines  |  [TEXT/CWIE]

  1. 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
  2. 20,30,30,0,15,25,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,10
  3.     PUSH    10
  4.     PUSH    20
  5.     JSR    addThem
  6.     POP    C
  7.     MOVE    15,E
  8.     MOVE    25,F
  9.     SUB    F,E,Z
  10.     RTS
  11. addThem:    POP    A
  12.     POP    B
  13.     ADD    A,B,B
  14.     PUSH    B
  15.     RTS
  16.